package request.message;

import enums.RequestType;
import request.Request;

public class MessagePullRequest extends Request {
    private String senderUsername;
    private String receiverUsername;

    public MessagePullRequest(String senderUsername, String receiverUsername) {
        super(RequestType.MessagePull);
        this.senderUsername = senderUsername;
        this.receiverUsername = receiverUsername;
    }

    public String getSenderUsername() {
        return senderUsername;
    }

    public String getReceiverUsername() {
        return receiverUsername;
    }
}
